@/*
    radio标签中各个参数的说明:
    name : radio的名称
    id : radio的id
    changeFun : 数值改变的方法名
    underline : 是否带分割线
    pCode : 上级code
@*/
<div class="form-group">
    <label class="col-sm-3 control-label">${name}</label>
    <div class="col-sm-9">
   		 
        <input class="form-control:focus"  id="${id}" type="hidden"
             @if(isNotEmpty(tableName)){
                    tableName="${tableName}"
             @}
             
             @if(isNotEmpty(fieldName)){
                    fieldName="${fieldName}"
             @}
             
             @if(isNotEmpty(selectedCode)){
                    selectedCode="${selectedCode}"
                    value="${selectedCode}"
             @}
             
        >
    </div>
</div>
@if(isNotEmpty(underline) && underline == 'true'){
    <div class="hr-line-dashed"></div>
@}
<script src="${ctxPath}/static/modular/common.js"></script>
<script type="text/javascript">
$(function () {
	var select = $("#${id}");
    var data = 
      	 Common.queryTVDictListForRadio(
     			select.attr("tableName"),
     			select.attr("fieldName"),
     			select.attr("id"),
     			select.attr("selectedCode")
      	);
});
</script>

